package com.loongtech.bi.advertisment.model;

import com.loongtech.bi.action.PageHelper;

public class LTVData {

    private String dateStr;
    private String channelName;
    private String agent;
    private String url;
    private Integer actEquipment;
    private Integer newAccount;
    private Integer newPayUser;
    private double payrate;
    private Double D0Pay;
    private Double D1Pay;
    private Double D2Pay;
    private Double D6Pay;
    private Double D13Pay;
    private Double D29Pay;
    private Double D59Pay;
    private Double D89Pay;
    private Double D119Pay;
    private Double D149Pay;
    private Double D179Pay;
    private Float D0LTV;
    private Float D1LTV;
    private Float D2LTV;
    private Float D6LTV;
    private Float D13LTV;
    private Float D29LTV;
    private Float D59LTV;
    private Float D89LTV;
    private Float D119LTV;
    private Float D149LTV;
    private Float D179LTV;
    private int the0ltvNewUser;
    private int the1ltvNewUser;
    private int the2ltvNewUser;
    private int the6ltvNewUser;
    private int the13ltvNewUser;
    private int the29ltvNewUser;
    private int the59ltvNewUser;
    private int the89ltvNewUser;
    private int the119ltvNewUser;
    private int the149ltvNewUser;
    private int the179ltvNewUser;

    public Double getD119Pay() { return D119Pay; }

    public void setD119Pay(Double d119Pay) { D119Pay = d119Pay; }

    public Double getD149Pay() { return D149Pay; }

    public void setD149Pay(Double d149Pay) { D149Pay = d149Pay; }

    public Double getD179Pay() { return D179Pay; }

    public void setD179Pay(Double d179Pay) { D179Pay = d179Pay; }

    public Float getD119LTV() { return D119LTV; }

    public void setD119LTV(Float d119LTV) { D119LTV = d119LTV; }

    public Float getD149LTV() { return D149LTV; }

    public void setD149LTV(Float d149LTV) { D149LTV = d149LTV; }

    public Float getD179LTV() { return D179LTV; }

    public void setD179LTV(Float d179LTV) { D179LTV = d179LTV; }

    public int getThe119ltvNewUser() { return the119ltvNewUser; }

    public void setThe119ltvNewUser(int the119ltvNewUser) { this.the119ltvNewUser = the119ltvNewUser; }

    public int getThe149ltvNewUser() { return the149ltvNewUser; }

    public void setThe149ltvNewUser(int the149ltvNewUser) { this.the149ltvNewUser = the149ltvNewUser; }

    public int getThe179ltvNewUser() { return the179ltvNewUser; }

    public void setThe179ltvNewUser(int the179ltvNewUser) { this.the179ltvNewUser = the179ltvNewUser; }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public Integer getActEquipment() {
        return actEquipment;
    }

    public void setActEquipment(Integer actEquipment) {
        this.actEquipment = actEquipment;
    }

    public Integer getNewAccount() {
        return newAccount;
    }

    public void setNewAccount(Integer newAccount) { this.newAccount = newAccount; }

    public Integer getNewPayUser() {
        return newPayUser;
    }

    public void setNewPayUser(Integer newPayUser) {
        this.newPayUser = newPayUser;
    }

    public double getPayrate() {
        return payrate;
    }

    public void setPayrate(double payrate) {
        this.payrate = payrate;
    }

    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    public Double getD0Pay() {
        return D0Pay;
    }

    public void setD0Pay(Double d0Pay) {
        D0Pay = d0Pay;
    }

    public Double getD1Pay() {
        return D1Pay;
    }

    public void setD1Pay(Double d1Pay) {
        D1Pay = d1Pay;
    }

    public Double getD2Pay() {
        return D2Pay;
    }

    public void setD2Pay(Double d2Pay) {
        D2Pay = d2Pay;
    }

    public Double getD6Pay() {
        return D6Pay;
    }

    public void setD6Pay(Double d6Pay) {
        D6Pay = d6Pay;
    }

    public Double getD13Pay() {
        return D13Pay;
    }

    public void setD13Pay(Double d13Pay) {
        D13Pay = d13Pay;
    }

    public Double getD29Pay() {
        return D29Pay;
    }

    public void setD29Pay(Double d29Pay) {
        D29Pay = d29Pay;
    }

    public Double getD59Pay() {
        return D59Pay;
    }

    public void setD59Pay(Double d59Pay) {
        D59Pay = d59Pay;
    }

    public Double getD89Pay() {
        return D89Pay;
    }

    public void setD89Pay(Double d89Pay) {
        D89Pay = d89Pay;
    }

    public Float getD0LTV() {
        return D0LTV;
    }

    public void setD0LTV(Float d0LTV) {
        D0LTV = d0LTV;
    }

    public Float getD1LTV() {
        return D1LTV;
    }

    public void setD1LTV(Float d1LTV) {
        D1LTV = d1LTV;
    }

    public Float getD2LTV() {
        return D2LTV;
    }

    public void setD2LTV(Float d2LTV) {
        D2LTV = d2LTV;
    }

    public Float getD6LTV() {
        return D6LTV;
    }

    public void setD6LTV(Float d6LTV) {
        D6LTV = d6LTV;
    }

    public Float getD13LTV() {
        return D13LTV;
    }

    public void setD13LTV(Float d13LTV) {
        D13LTV = d13LTV;
    }

    public Float getD29LTV() {
        return D29LTV;
    }

    public void setD29LTV(Float d29LTV) {
        D29LTV = d29LTV;
    }

    public Float getD59LTV() {
        return D59LTV;
    }

    public void setD59LTV(Float d59LTV) {
        D59LTV = d59LTV;
    }

    public Float getD89LTV() {
        return D89LTV;
    }

    public void setD89LTV(Float d89LTV) {
        D89LTV = d89LTV;
    }

    public int getThe0ltvNewUser() {
        return the0ltvNewUser;
    }

    public void setThe0ltvNewUser(int the0ltvNewUser) {
        this.the0ltvNewUser = the0ltvNewUser;
    }

    public int getThe1ltvNewUser() {
        return the1ltvNewUser;
    }

    public void setThe1ltvNewUser(int the1ltvNewUser) {
        this.the1ltvNewUser = the1ltvNewUser;
    }

    public int getThe2ltvNewUser() {
        return the2ltvNewUser;
    }

    public void setThe2ltvNewUser(int the2ltvNewUser) {
        this.the2ltvNewUser = the2ltvNewUser;
    }

    public int getThe6ltvNewUser() {
        return the6ltvNewUser;
    }

    public void setThe6ltvNewUser(int the6ltvNewUser) {
        this.the6ltvNewUser = the6ltvNewUser;
    }

    public int getThe13ltvNewUser() {
        return the13ltvNewUser;
    }

    public void setThe13ltvNewUser(int the13ltvNewUser) {
        this.the13ltvNewUser = the13ltvNewUser;
    }

    public int getThe29ltvNewUser() {
        return the29ltvNewUser;
    }

    public void setThe29ltvNewUser(int the29ltvNewUser) {
        this.the29ltvNewUser = the29ltvNewUser;
    }

    public int getThe59ltvNewUser() {
        return the59ltvNewUser;
    }

    public void setThe59ltvNewUser(int the59ltvNewUser) {
        this.the59ltvNewUser = the59ltvNewUser;
    }

    public int getThe89ltvNewUser() {
        return the89ltvNewUser;
    }

    public void setThe89ltvNewUser(int the89ltvNewUser) {
        this.the89ltvNewUser = the89ltvNewUser;
    }

    public String getAgent() {
        return agent;
    }

    public void setAgent(String agent) {
        this.agent = agent;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setThePay(int d, double pay) {
        if (d == 0) {
            D0Pay = pay;
        } else if (d == 1) {
            D1Pay = pay;
        } else if (d == 2) {
            D2Pay = pay;
        } else if (d == 6) {
            D6Pay = pay;
        } else if (d == 13) {
            D13Pay = pay;
        } else if (d == 29) {
            D29Pay = pay;
        } else if (d == 59) {
            D59Pay = pay;
        } else if (d == 89) {
            D89Pay = pay;
        } else if (d == 119) {
            D119Pay = pay;
        } else if (d == 149) {
            D149Pay = pay;
        } else if (d == 179) {
            D179Pay = pay;
        }
    }

    public void setTheLtvNewUser(int d, int newUser) {
        if (d >= 0) {
            the0ltvNewUser = newUser;
        }
        if (d >= 1) {
            the1ltvNewUser = newUser;
        }
        if (d >= 2) {
            the2ltvNewUser = newUser;
        }
        if (d >= 6) {
            the6ltvNewUser = newUser;
        }
        if (d >= 13) {
            the13ltvNewUser = newUser;
        }
        if (d >= 29) {
            the29ltvNewUser = newUser;
        }
        if (d >= 59) {
            the59ltvNewUser = newUser;
        }
        if (d >= 89) {
            the89ltvNewUser = newUser;
        }
        if (d >= 119) {
            the119ltvNewUser = newUser;
        }
        if (d >= 149) {
            the149ltvNewUser = newUser;
        }
        if (d >= 179) {
            the179ltvNewUser = newUser;
        }
    }

    public void setTheLTV(int d, int cashadd) {
        if (d == 0) {
            D0LTV = PageHelper.floatKeepTwoNumber(the0ltvNewUser == 0 ? 0 : (float) (cashadd * 1.0 / the0ltvNewUser));
        } else if (d == 1) {
            D1LTV = PageHelper.floatKeepTwoNumber(the1ltvNewUser == 0 ? 0 : (float) (cashadd * 1.0 / the1ltvNewUser));
        } else if (d == 2) {
            D2LTV = PageHelper.floatKeepTwoNumber(the2ltvNewUser == 0 ? 0 : (float) (cashadd * 1.0 / the2ltvNewUser));
        } else if (d == 6) {
            D6LTV = PageHelper.floatKeepTwoNumber(the6ltvNewUser == 0 ? 0 : (float) (cashadd * 1.0 / the6ltvNewUser));
        } else if (d == 13) {
            D13LTV = PageHelper.floatKeepTwoNumber(the13ltvNewUser == 0 ? 0 : (float) (cashadd * 1.0 / the13ltvNewUser));
        } else if (d == 29) {
            D29LTV = PageHelper.floatKeepTwoNumber(the29ltvNewUser == 0 ? 0 : (float) (cashadd * 1.0 / the29ltvNewUser));
        } else if (d == 59) {
            D59LTV = PageHelper.floatKeepTwoNumber(the59ltvNewUser == 0 ? 0 : (float) (cashadd * 1.0 / the59ltvNewUser));
        } else if (d == 89) {
            D89LTV = PageHelper.floatKeepTwoNumber(the89ltvNewUser == 0 ? 0 : (float) (cashadd * 1.0 / the89ltvNewUser));
        } else if (d == 119) {
            D119LTV = PageHelper.floatKeepTwoNumber(the119ltvNewUser == 0 ? 0 : (float) (cashadd * 1.0 / the119ltvNewUser));
        } else if (d == 149) {
            D149LTV = PageHelper.floatKeepTwoNumber(the149ltvNewUser == 0 ? 0 : (float) (cashadd * 1.0 / the149ltvNewUser));
        } else if (d == 179) {
            D179LTV = PageHelper.floatKeepTwoNumber(the179ltvNewUser == 0 ? 0 : (float) (cashadd * 1.0 / the179ltvNewUser));
        }
    }

}
